package com.kdyzm.demo.springboot.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.kdyzm.demo.springboot.entity.ClientRole;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;


/**
 * 角色Mapper接口
 *
 * @author kdyzm
 * @date 2021-10-20
 */
@Mapper
public interface IClientRoleMapper extends BaseMapper<ClientRole> {

    ClientRole selectOneByName(@Param("name") String name);

    List<ClientRole> selectList1();
}
